package com.own.business.resource.business.base;

import com.own.business.resource.entity.po.FileRecord;

import java.util.function.BiConsumer;

/**
 * BaseFileRecordPathHandler
 *
 * @author chenxueli
 * @date 2024-03-27 09:29:00
 */
@FunctionalInterface
public interface BaseFileRecordPathHandler extends BiConsumer<String, FileRecord> {

    /**
     * 排序（从小到大）
     *
     * @return 排序
     */
    default int sort() {
        return 0;
    }

}
